package com.app.service;

import com.app.model.ComputerModel;
import com.app.util.Result;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface ComputerService {


    ComputerModel getComByComId(int id);

    Page<ComputerModel> getPageComList(int page, int limit, String name, Integer departmentId, String personName, List<Integer> idList, Integer type, Integer sortType);//办公计算机管理分页查询

    void update(ComputerModel model);

    void insert(ComputerModel model);

    void delete(int id);

    Integer comCount(List<Integer> idsList);

    List<ComputerModel> getPlantByIds(List<Integer> appIdList);

    Result<Object> deleteComputerBatchByIds(String ids);
}
